package com.sk.bilibili.viewHolder;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;

public class BaseViewHolder<T extends ViewBinding> extends RecyclerView.ViewHolder {

    protected T bind;

    public BaseViewHolder(@NonNull T bind) {
        super(bind.getRoot());
        this.bind=bind;
    }

    public T getBind() {
        return bind;
    }

}